﻿@namespace BlazorDemo.Pages.CodeSnippets

<CodeSnippetTabbed DocLink="https://docs.devexpress.com/Blazor/DevExpress.Blazor.DxTimeEdit-1#read-only-state">
    <CodeSnippetTabPage Text="Razor">@(@"<DxTimeEdit @bind-Time=""@TimeValue""
            ReadOnly=""true"">
</DxTimeEdit>

<DxTimeEdit @bind-Time=""@TimeValue""
            Enabled=""false"">
</DxTimeEdit>

@code {
    TimeSpan TimeValue { get; set; } = DateTime.Now.TimeOfDay;
}")</CodeSnippetTabPage>
</CodeSnippetTabbed>
